namespace IMPlant.Core.Web.Control
{
    using System;
    using System.ComponentModel;

    [TypeConverter(typeof(ExpandableObjectConverter)), ToolboxItem(false)]
    public class FixRowColumn
    {
        private string _fixColumns;
        private string _fixRows;
        private string _fixRowState;
        private string _fixRowType;
        private string _tableHeight;
        private string _tableWidth;

        public override string ToString()
        {
            return "";
        }

        [Description("需要固定的列的索引（用逗号“,”分隔）"), NotifyParentProperty(true), Category("扩展属性")]
        public virtual string FixColumns
        {
            get
            {
                return this._fixColumns;
            }
            set
            {
                this._fixColumns = value;
            }
        }

        [NotifyParentProperty(true), Category("扩展属性"), Description("需要固定的行的索引（用逗号“,”分隔）")]
        public virtual string FixRows
        {
            get
            {
                return this._fixRows;
            }
            set
            {
                this._fixRows = value;
            }
        }

        [Description("需要固定的行的RowState（用逗号“,”分隔）"), Category("扩展属性"), NotifyParentProperty(true)]
        public virtual string FixRowState
        {
            get
            {
                return this._fixRowState;
            }
            set
            {
                this._fixRowState = value;
            }
        }

        [Description("需要固定的行的RowType（用逗号“,”分隔）"), NotifyParentProperty(true), Category("扩展属性")]
        public virtual string FixRowType
        {
            get
            {
                return this._fixRowType;
            }
            set
            {
                this._fixRowType = value;
            }
        }

        [NotifyParentProperty(true), Description("表格的高度"), Category("扩展属性")]
        public string TableHeight
        {
            get
            {
                return this._tableHeight;
            }
            set
            {
                this._tableHeight = value;
            }
        }

        [Description("表格的宽度"), NotifyParentProperty(true), Category("扩展属性")]
        public string TableWidth
        {
            get
            {
                return this._tableWidth;
            }
            set
            {
                this._tableWidth = value;
            }
        }
    }
}

